package com.dms.service.impl;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.dms.entity.Menulist;
import com.dms.mapper.MenulistMapper;
import com.dms.service.MenulistService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.awt.*;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author dms
 * @since 2023-02-03
 */
@Service
public class MenulistServiceImpl extends ServiceImpl<MenulistMapper, Menulist> implements MenulistService {
    //注入menulistMapper
    @Resource   //注入Resource命令
    private MenulistMapper menulistMapper;
    @Override
    public IPage pageC(IPage<Menulist> page, Wrapper wrapper) {
        return menulistMapper.pageC(page, wrapper);
    }

    @Override
    public List pageF(QueryWrapper queryWrapper) {
        return menulistMapper.pageF(queryWrapper);
    }


}
